import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Choice;


public class AppointmentGUI extends JPanel {
    public AppointmentGUI() {
        setLayout(new BorderLayout(0, 0));
        
        JPanel panel = new JPanel();
        add(panel, BorderLayout.CENTER);
        panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
        
        JPanel panel_1 = new JPanel();
        panel.add(panel_1);
        panel_1.setLayout(new BorderLayout(0, 0));
        
        JList list = new JList();
        panel_1.add(list, BorderLayout.CENTER);
        
        JLabel lblDate = new JLabel("Date");
        panel_1.add(lblDate, BorderLayout.NORTH);
        
        JPanel panel_2 = new JPanel();
        panel.add(panel_2);
        panel_2.setLayout(new BorderLayout(0, 0));
        
        JList list_1 = new JList();
        panel_2.add(list_1, BorderLayout.CENTER);
        
        JLabel lblPatient = new JLabel("Patient");
        panel_2.add(lblPatient, BorderLayout.NORTH);
    }

}
